//
// Created by 14590 on 2024/11/15.
//

#include "master_control.h"

uint8_t Master_Process_Flag;

float Motor_Reach_Calc(float Target, float Current, float MaxOutput)
{
    float val = (Target - Current) * 0.1;
    val = val>MaxOutput?MaxOutput:val;
    val = val<-MaxOutput?-MaxOutput:val;
    return val;
}

float DeltaTmp;


void Master_Control()
{
    LocateMotor_Control();

}